CRC-Cards and Roleplay Diagrams Informal Tools to Teach OO Thinking

نویسنده

  • Jürgen Börstler
چکیده

CRC-cards (Class,Responsibility andCollaborator) are a lightweight approach to collaborative object-oriented modelling that has been developed as a tool for teaching object-oriented thinking to programmers [1]. They have been used widely in various teaching and training contexts [2, 6, 7, 10]. A CRC-card (see gure 1) corresponds to a class. A responsibility is something the objects of a class know or do as a service for other objects. A book object in a library application, for example, might, among other things, be responsible for checking itself out and knowing its title and due date (see Book in 1). The responsibilities of the objects of a class are written along the left side of the card. A collaborator is an object of another class helping to ful l a speci c responsibility. A book object, for example, can only know whether it is overdue, if it also knows the current date. In gure 1 this information is provided by a collaborator object of class Date. The class names of collaborators are written along the right side of the card. The back of the card can be used for a brief description of the class' purpose, comments and miscellaneous details.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Teaching Object Oriented Modelling with Crc-cards and Roleplaying Games

CRC-cards have been adopted by many educators to teach early design in their object-oriented programming courses. In this paper we discuss our experiences using the CRC-card approach in upper secondary school and undergraduate programming courses. Although our experiences are generally positive, we have noticed many problems and issues that have largely gone unnoticed in the literature. It is t...

متن کامل

Mapping CRC Card into Stochastic Petri Net for Analyzing and Evaluating Quality Parameter of Security (TECHNICAL NOTE)

CRC cards are unconventional method for identifying and describing classes, behavior and its responsibilities and collaborators of class. Representation of three categories of class, responsibilities and collaborators can give proper image of scenario. These cards are effective method for analyzing scenarios. With all positive features of CRC cards, of weaknesses of these cards are failure to s...

متن کامل

OPEN: A Third Generation OO Methodology - Advanced Tasks and Techniques

Techniques for object-oriented software development range from well established (such CRC cards, scenario analysis and object/class modeling) to newer developments. In this tutorial will be included some of the more recent developments within OPEN (Henderson-Sellers and Graham, 1997). These are likely to be selected from, for example, distributed computing, roles, rule modeling, project managem...

متن کامل

Introducing OOConcepts with CRC-cards and BlueJ - a case study

Introducing object-oriented problem solving and programming has shown to be more difficult than expected. The way we "used to do" do not work as well as it did with the imperative approach. In an attempt to compare how people conceive the idea of objects and object oriented design/ problem-solving subject to the way it is taught, we conducted a study during Summer-University 2001. The aim was t...

متن کامل

Teaching Oo Concepts—a Case Study Using Crc-cards and Bluej

1 Umeå University, Department of Computing Science, SE-901 87 Umeå, Sweden, {jubo,thomasj,marie}@cs.umu.se Abstract  The transition to object-oriented programming is more than just a matter of programming language. Traditional syllabi fail to teach students the “big picture” and students have difficulties taking advantage of objectoriented concepts. In this paper we present a holistic approach...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007